home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-10-22 | 4.3 KB | 151 lines | [TEXT/????] |
- # Copyright Cornell University 1986. All rights are reserved.
-
- # 8/14/87 kevin changed to include ft.lib rather than 3270ft.o
- # to make Cornell-TCP and MacTCP merged version...
- # use MERGEOBJS w/ MERGELIBS rather than OBJS w/ MACTCPLIBS
- # define DUALTCP rather than MACTCP
-
- CUOBJS=main.o telnet.o event.o menu.o dialog.o \
- 3270com.o 3270token.o tninit.o \
- hyperface.o token.o asciitoken.o \
- screen.o ft.o gethost.o nnr.o util.o MITCUStan.o config.o \
- scrinit.o emcursor.o zap.o
-
- CULIBS=-ltftp -ltcp -lnet -ludp -lip -ltask -ltftp \
- -lem -lomni -latddp -lmyc -lm
-
- MERGEOBJS=main.o telnet.o event.o menu.o dialog.o \
- 3270com.o 3270token.o \
- mactcp.o net_utils.o tftp_srv.o tftp_util.o tninit.o gethost.o \
- token.o asciitoken.o \
- ft.o \
- util.o MITCUStan.o scrinit.o config.o \
- emcursor.o serial.o textedit.o nnr.o
-
- MERGELIBS=-ltcp -ltftp -lnet -ludp -lip -ltask \
- -lem -lomni -latddp -lmyc -lm
-
- OBJS=main.o telnet.o event.o menu.o dialog.o \
- 3270com.o 3270token.o \
- mactcp.o net_utils.o tftp_srv.o tftp_util.o tninit.o gethost.o \
- token.o asciitoken.o \
- ft.o \
- util.o CometCopy.o scrinit.o config.o \
- emcursor.o serial.o textedit.o timer.o
-
- EMOBJS=screen.o zap.o vt100.o h19.o asciidraw.o
-
- MACTCPLIBS=-lem -lmyc -lm
-
- #hyperface.o not integrated, should it be? was before token.o
- #timer.o not used with merged MacTCP CUTCP version
- #nnr.o not used with MacTCP version?
-
- DEFS=-Z4000 \
- -DMULTI \
- -DMACTCP \
- -DTFTPSERVE \
- -DUSETASK \
- -DOPENDRIVER \
- -DSERIALDTRUP \
- -DTCPSELECT \
- -DMERGEDVTCHARS \
- -DUSETEXTWINDOWS \
- -DSIZETEXTWINDOW \
- -DUSETEXTWINDFIND \
- -DDOQDPRINT \
- -DINVEQALT \
- -DSKIPBLANKS \
- -DFASTDRAW \
- -DMERGEDVTCHARS \
- -DVARVTSIZE \
-
- # -DASYNCOPEN \
- # -DASYNCCLOSE
-
- # -DINVEQALT h19 inverse font == bold font
- # -DSKIPBLANKS skip blanks when drawing
- # -DFASTDRAW draws direct to screen immediately rather than through emrefresh
- # -DTESTBOUND test array boundaries in VT100
- # -DVTJUMPSCROLL do jumpier scrolling for vt100; speeds things up
- # on faster machines, slower on 68000s due to QD draw
- # -DMERGEDVTCHARS VT character set incorporated in chars >127
-
-
- # -DMULTI multiple windows
- # -DTFTPSERVE link TFTP routines
- # -DUSETEXTWINDOWS compile with code to do .edit window scrolling buffer
- # -DSIZETEXTWINDOW put a grow icon on the .edit window
- # -DUSETEXTWINDFIND add Find item to Edit menu for .edit window
- # -DTCPSELECT hide host IP address in namewindow() when irrelevant
- # -DWORONACURSOR put PF number on cursor when in q3button...
- # -DUSEHELPWINDOW compile with code to do a help window
- # -DMERGEDVTCHARS VT special character set folded into standard sets...
- # -DVARVTSIZE h19/VT emulator size can be reconfigured in config
-
- # -DDOQDPRINT offer QuickDraw in addition to the DOOMED streaming text routines
- # -DSERIALDTRUP configure serial driver to leave DTR up on close
-
- # -DDOHYC link hyperface interface
-
- # all the following labels modify MacTCP related code
- # -DDUALTCP link both TCP stacks, i.e. mactcp & cornell(PC/IP, Stanford)
- # -DMACTCP link with MacTCP, differing vars
- # if neither of these are selected cornell tcp is linked.
- # -DIPASYNC open IP asynchronously
- # -DOPENDRIVER use OpenDriver call rather than openPB
- # -DASYNCREAD do async read
- # -DASYNCOPEN do async open
- # -DASYNCCLOSE do async close
- # -DTCPBUFWRAP use 2 entry WDS on buffer wrap
- # -DUSETABLE use get_host() rather than namewindow()--no host table
- # -DUSETASK call tk_yield in alfilter
- # -DTFTPDEBUG compile tftp with printf's
-
- STACK=16000
-
- .c.o:
- date
- echo '---> '$*.c; c -L200 '+N' $(CFLAGS) $(DEFS) -o $@ $*.c
- duplicate -y '$*.c' hd:'$*.c'
-
- .asm.o:
- date
- echo '---> '$*.asm; as $(AFLAGS) -o $@ $*.asm
-
- Comet2.1: Comet2.1.code Comet2.1.r
- date
- rgen Comet2.1.r
- SetFile -a B Comet21
- date
- rm Comet21.code
- duplicate -y Comet21 hd:Comet21
- duplicate -y Comet21.dbg hd:Comet21.dbg
- echo '===> Comet21 make complete'∂n
-
- Comet2.1.code: $(OBJS) $(EMOBJS)
- date
- ln -g -T '+T' '+M' '+S' $(STACK) -o Comet21.code $(LIB)sacroot.o \
- $(LIB)crt0.o $(OBJS) $(EMOBJS) $(MACTCPLIBS)
-
- # rm old objects with USETEXTWINDOW dependencies
-
- vers:
- rm event.o
- rm menu.o
- rm scrinit.o
- rm token.o
- rm textedit.o
-
- # rm old objects with PCIP dependencies
-
- PCIPvers:
- rm dialog.o
- rm gethost.o
- rm mactcp.o
- rm main.o
- rm menu.o
- rm screen.o
- rm tftp_util.o
-
-